﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

public class Commented_Code
{

}

//commented code
//private DataTable getMatrix()
//{
//    if (matrix == null) matrix = new DataTable();
//    return matrix;
//}

//private void setMatrix(DataTable dt)
//{
//    matrix = dt;
//}

//public void setCell(int row, int column, string value)
//{
//    if ((row > rowCount) || (column > colCount))
//    {
//        return;
//    }

//    matrix.Rows[row - 1][column - 1] = value;
//}

//public string getCell(int row, int column)
//{
//    return dt.Rows[row][column].ToString();
//}


            //if (TabData_Sales.Enabled) TabData_Sales.TabIndex = 0;
            //if (TabReject_Sales.Enabled) TabData_Sales.TabIndex = 1;
            //if (TabCityCategory.Enabled) TabData_Sales.TabIndex = 0;
            //if (TabDMAMaster.Enabled) TabData_Sales.TabIndex = 0;



//set error tab at pose 2( after upload & reject)
//TabError.TabIndex = 2;


                                //<cc1:TabPanel ID="TabReject_CityCat" runat="server">
                                //    <ContentTemplate>
                                //        <trirand:JQGrid ID="JQGridCityCatRejected" runat="server" Width="890px" Height="300px"
                                //            OnDataRequesting="JQGrid_DataRequesting">
                                //            <Columns>
                                //                <trirand:JQGridColumn DataField="CityName" />
                                //                <trirand:JQGridColumn DataField="State" />
                                //                <trirand:JQGridColumn DataField="Category" />
                                //            </Columns>
                                //            <SearchDialogSettings MultipleSearch="True" />
                                //            <ToolBarSettings ShowRefreshButton="True" ShowSearchButton="True" />
                                //            <AppearanceSettings ShowRowNumbers="True" ShrinkToFit="False" />
                                //        </trirand:JQGrid>
                                //    </ContentTemplate>
                                //</cc1:TabPanel>


////Table - CarSalesData
//protected void JQGridSalesInput_DataRequesting(object sender, Trirand.Web.UI.WebControls.JQGridDataRequestEventArgs e)
//{
//    if (DataUploadVariables.Table4DataUpload == "CarSalesData")
//    {
//        JQGridSalesInput.DataSource = DataUploadVariables.UploadData;
//        JQGridSalesInput.DataBind();
//    }
//}

//protected void JQGridSalesRejected_DataRequesting(object sender, Trirand.Web.UI.WebControls.JQGridDataRequestEventArgs e)
//{
//    if (DataUploadVariables.Table4DataUpload == "CarSalesData")
//    {
//        JQGridSalesRejected.DataSource = DataUploadVariables.RejectedData;
//        JQGridSalesRejected.DataBind();
//    }
//}

////Table - CityCategory
//protected void JQGridCityCatInput_DataRequesting(object sender, Trirand.Web.UI.WebControls.JQGridDataRequestEventArgs e)
//{
//    if (DataUploadVariables.Table4DataUpload == "CityCategory")
//    {
//        JQGridCityCatInput.DataSource = DataUploadVariables.UploadData;
//        JQGridCityCatInput.DataBind();
//    }
//}

//protected void JQGridCityCatRejected_DataRequesting(object sender, Trirand.Web.UI.WebControls.JQGridDataRequestEventArgs e)
//{
//    if (DataUploadVariables.Table4DataUpload == "CityCategory")
//    {
//        JQGridCityCatRejected.DataSource = DataUploadVariables.RejectedData;
//        JQGridCityCatRejected.DataBind();
//    }
//}

////Error Data
//protected void JQGridErrors_DataRequesting(object sender, Trirand.Web.UI.WebControls.JQGridDataRequestEventArgs e)
//{
//    JQGridErrors.DataSource = DataUploadVariables.ErrorData;
//    JQGridErrors.DataBind();
//}